//#define __DEBUG__
// by Tyrghen
#define THIS_FILE "fn_isgrenade.sqf"
#include "x_setup.sqf"

private["_item","_config","_sound"];
_item = _this select 0;
__TRACE_1("_this","_this")
if (isClass(configFile >> "CfgMagazines" >> _item)) then {
	if (getText(configFile/"CfgAmmo"/(getText(configFile/"CfgMagazines"/_item/"ammo"))/"simulation") == "shotGrenade") then
	{
		__TRACE_1("Is Grenade","true")
		true;
	}
	else
	{
		false;
	};
} else {
	false;
}; 